﻿@model VfAccountApps.Domain.Models.budget_info

@{
    ViewBag.Title = "Details";
}

<h2>Details</h2>

<fieldset>
        <legend>Expense Data Entry</legend>

        <div id="left-column">
        
            <div class="editor-label">
                @Html.LabelFor(model => model.sap_info_id, "Accoun Sap")
            </div>
            <div class="editor-field">
                @Html.TextBoxFor(model => model.sap_info.account_sap, new { @readonly = "readonly" })
                @Html.ValidationMessageFor(model => model.sap_info_id)
            </div>

            <div class="editor-label">
                @Html.LabelFor(model => model.date, "Date")
            </div>
            <div class="editor-field">
                @Html.TextBoxFor(model => model.date, new { @readonly = "readonly" })
                @Html.ValidationMessageFor(model => model.date)
            </div>

            <div class="editor-label">
                @Html.LabelFor(model => model.unit, "Unit")
            </div>
            <div class="editor-field">
                @Html.TextBoxFor(model => model.unit, new { @readonly = "readonly" })
                @Html.ValidationMessageFor(model => model.unit)
            </div>

            <div class="editor-label">
                @Html.LabelFor(model => model.section, "Section")
            </div>
            <div class="editor-field">
                @Html.TextBoxFor(model => model.section, new { @readonly = "readonly" })
                @Html.ValidationMessageFor(model => model.section)
            </div>

            <div class="editor-label">
                @Html.LabelFor(model => model.description, "Description")
            </div>
            <div class="editor-field">
                @Html.TextBoxFor(model => model.description, new { @readonly = "readonly" })
                @Html.ValidationMessageFor(model => model.description)
            </div>

        </div>

        <div id="right-column">
            
            <div class="editor-label">
                @Html.LabelFor(model => model.expense_amount, "Expense Amount")
            </div>
            <div class="editor-field">
                @Html.TextBoxFor(model => model.expense_amount, new { @readonly = "readonly" })
                @Html.ValidationMessageFor(model => model.expense_amount)
            </div>

            <div class="editor-label">
                @Html.LabelFor(model => model.budgeted_amount, "Budgeted Amount")
            </div>
            <div class="editor-field">
                @Html.TextBoxFor(model => model.budgeted_amount, new { @readonly = "readonly" })
                @Html.ValidationMessageFor(model => model.budgeted_amount)
            </div>

            <div class="editor-label">
                @Html.LabelFor(model => model.remark, "Remark")
            </div>
            <div class="editor-field">
                @Html.TextBoxFor(model => model.remark, new { @readonly = "readonly" })
                @Html.ValidationMessageFor(model => model.remark)
            </div>

            <div class="editor-label">
                @Html.LabelFor(model => model.reference_no, "Reference No")
            </div>
            <div class="editor-field">
                @Html.TextBoxFor(model => model.reference_no, new { @readonly = "readonly" })
                @Html.ValidationMessageFor(model => model.reference_no)
            </div>

            <div class="editor-label">
                @Html.LabelFor(model => model.entry_date, "Entry Date")
            </div>
            <div class="editor-field">
                @Html.TextBoxFor(model => model.entry_date, new { @readonly = "readonly" })
                @Html.ValidationMessageFor(model => model.entry_date)
            </div>

        </div>
    </fieldset>
<p>
    @Html.ActionLink("Edit", "Edit", new { id=Model.budget_info_id }) |
    @Html.ActionLink("Back to List", "Index")
</p>
